package com.heliang.service.info;

import java.util.List;

import com.heliang.dataaccess.bean.AdvBean;
import com.heliang.dataaccess.bean.InfoBean;
import com.heliang.dataaccess.bean.InfoCatBean;
import com.heliang.dataaccess.bean.MailListBean;
import com.hl.component.exception.ServiceException;

public interface IndexService {
	/**
	 * 获取资讯类别
	 * @return
	 */
    public List<InfoCatBean> getInfoCatList()throws ServiceException;
    
    /**
     * 获取尾部广告
     * @return
     */
    public List<AdvBean> getFooterAdvBeanList()throws ServiceException;
    
    /**
     * 获取头部广告
     * @return
     */
    public List<AdvBean> getTopAdvBeanList()throws ServiceException;
    
    /**
     * 获取新闻头条
     * @return
     */
    public List<InfoBean> getHeadBeanList(int type, int catId)throws ServiceException;
    
    /**
     * 获取活动的会员
     * @return
     */
    public List<MailListBean> getActiveMember()throws ServiceException;
}
